﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DTO;
using DAO;
namespace BUS
{
    public class LoaiMenuBUS
    {
        // Lấy Danh SÁch Loại Menu
        public List<LoaiMenuDTO> LayDanhSachLoaiMenu()
        {
            LoaiMenuDAO lm = new LoaiMenuDAO();
            return lm.LayDanhSach();
        }
        public string LayLoaiMenu(int id)
        {
            LoaiMenuDAO mn = new LoaiMenuDAO();
            return mn.LayLoaiMenu(id);
        }
    }
}
